<div id="dialog-new-doc" class="form-horizontal">
	<div class="modal-body">
	   <div class="form-group">
	       <label class="col-sm-2 control-label">Name</label>
	       <div class="col-sm-10">
 	           <input class="form-control" type="text" name="name" style="width: 100%"/>
	       </div>
	       <div class="clearfix"></div>
	   </div>
	   <div class="form-group">
	       <label class="col-sm-2 control-label">Note</label>
	       <div class="col-sm-10">
 	           <textarea class="form-control" type="text" name="content" style="width: 100%"/>
	       </div>
	       <div class="clearfix"></div>
	   </div>
	   <!-- For future usage 
	   <div class="form-group">
	       <label class="col-sm-2 control-label">文件链接</label>
	       <div class="col-sm-10">
 	           <input class="form-control" type="text" name="fileLink" style="width: 100%" placeholder="如指定该地址将从该地址下载文件并新建"/>
	       </div>
	       <div class="clearfix"></div>
	   </div> 
	   -->
	</div>
    <div class="modal-footer">
    	<div class="form-group">
            <label class="col-sm-2 control-label">Folder</label>
            <div class="col-sm-10">
                <input type="text" value="" class="form-control" name="remoteDir" title="Target Folder">
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
    
    <div class="modal-footer">
	    <div class="form-group">
		    <div class="col-sm-12 text-right">
		        <button  type="button" class="btn btnPrimary" onclick="doAddDoc();" style="width: 100px;height: 42px;">Confirm</button>
		        <button  type="button" class="btn btnPrimary" onclick="cancelAddDoc();" style="width: 100px;height: 42px;">Cancel</button>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript" src="addDoc.js"></script>

